package cn.bgs.mapper;

import cn.bgs.pojo.File;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 文件表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface FileMapper extends BaseMapper<File> {

    int addCarPhoto(@Param("vehicleCarId") Integer vehicleCarId,@Param("fileUrl") String fileUrl);

    File getCarPhoto(Integer vehicleCarId);

    int updCarPhoto(File file);
}
